.c7ncd-project-create-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  border-radius: 26px;
  background: #fff;

  &-wrap {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 26px;
    font-size: 40px;
    line-height: 80px;
    font-weight: 700;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #3f51b5;
    text-transform: uppercase;
    text-align: center;
  }

  &-button {
    position: absolute !important;
    width: 100%;
    height: 100% !important;
    border-radius: inherit !important;
    top: 0;
    left: 0;
    cursor: pointer;
    transition: opacity 0.3s;

    .c7n-upload {
      display: block;
      width: 100%;
      height: 100%;
    }

    &-icon {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      margin: auto;
      width: 80px;
      height: 80px;
      border-radius: 26px;
      background-color: rgba(0, 0, 0, 0.26);
      color: #fff;

      .icon {
        font-size: 24px;
        line-height: 80px;
      }
    }

    &-create {
      opacity: 1;
    }

    &-edit {
      opacity: 0;
    }
  }

  &:hover &-button {
    opacity: 1;
  }
}

.c7ncd-project-create {

  &-form {
    .c7n-pro-validation-message {
      white-space: unset;
    }

    .c7n-pro-select-box-wrapper {
      margin-top: .2rem;

      .c7n-pro-radio-label {
        display: inline-block;
        min-width: 1rem;
      }
    }
  }

  &-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    &-exception {
      width: .9rem;
      text-align: center;
      margin-bottom: 12px;
      display: flex;
      align-items: center;

      .c7n-pro-checkbox-inner {
        width: 14px !important;
        height: 14px !important;
      }
      
      .c7n-pro-checkbox-inner::after {
        top: -0.0242857rem !important;
        width: 0.04714286rem !important;
        height:  0.11428571rem !important;
      }
    }

    &-item {
      display: inline-block;
      text-align: center;
      width: .9rem;
      height: .88rem;
      border-radius: 10px;
      border: 2px solid #D9E6F2;
      padding: .1rem 0;
      margin: 0 0 12px 0;
      cursor: pointer;
      line-height: 20px;
      // position: relative;

      &-disabled {
        cursor: not-allowed;
        background: rgba(158, 173, 190, 0.08);
        border: 1px solid #D9E6F2;
        opacity: 45%;
      }

      &-selected {
        border: 2px solid var(--primary-color);
        background: rgba(83, 101, 234, 0.08);
      }

      &-icon {
        width: .4rem;
        height: .4rem;
        line-height: .4rem;
        margin: 0 auto .08rem;
        background: url("./images/devops.svg");
        background-repeat: no-repeat !important;

        &-N_DEVOPS {
          background: url("./images/devops.svg");
        }
        &-N_AGILE,
        &-N_PROGRAM {
          background: url("./images/agile.svg");
        }
        &-N_TEST {
          background: url("./images/test.svg");
        }
        &-N_REQUIREMENT {
          background: url("./images/require.svg");
        }
        &-N_OPERATIONS {
          background: url("./images/operations.svg");
        }
        &-N_WATERFALL {
          background: url("./images/waterfall.svg");
        }
      }
    }

    &-label {
      font-size: 12px;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.6);
      line-height: 15px;
      margin-top: .1rem;
      margin-bottom: .14rem;

      &::after {
        display: inline-block;
        width: 0.08rem;
        margin-left: 0.04rem;
        color: #d50000;
        font-family: SimSun, sans-serif;
        line-height: 1;
        vertical-align: middle;
        content: '*';
      }
    }
  }

  &-template {
    margin-top: 6px;
    &-checkbox {
      display: flex;
      flex-direction: row-reverse;
      justify-content: flex-end;
      align-items: center;
      color: rgba(15, 19, 88, 0.85);
      margin-left: -8px;
    }
    &-btn {
      padding: 0 10px;
      height: 32px;
      line-height: 32px;
      background: var(--primary-color);
      border-radius: 6px;
      color: #fff;
      cursor: pointer;
      display: inline-block;
      margin-top: 16px;
    }
  }
}



